import {BaseObject} from "../../2.复杂数据类型封装/model/baseObject.js";

export class BaseDataObject extends BaseObject {

    constructor(prop) {
        super(prop);
    }

    get id() {
        return this.property.get('id');
    }

    set id(id) {
        this.property.set('id', id);
    }

    get name() {
        return this.property.get('name');
    }
}